package com.dgh.school.service;

import com.dgh.school.bean.Schedule;
import com.dgh.school.common.R;

import java.util.List;

public interface ScheduleService {
    List<Schedule> selectAll();

    R selectByPage(int pageNum, int pageSize) throws Exception;

    void deleteSchedule(int id) throws Exception;

    void insertData(Schedule schedule) throws Exception;

    void updateData(Schedule schedule) throws Exception;
}
